home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part IV.srd / Part IV.srd.rsrc / PICT_7.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  78KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | chat room | crt screen | monitor | poster | reckoner | sky
OCR: Chapter -Using the Assembler IV- 3 move.l DO dicobj[fun] ;code test3 avalue put: fun demo3 avalue get: fun test 1234 1 ( The following example shows an array being accessed .with dicobj [name] da t a starti ing at the absol lute address of the array joe" plus is mov, Con ents of five reqi isters are then pushed onto the stack The di because t.he bytes of array are for record keep bu array joe :code demo4 lea dicobj[ [joe] ,A0 6 (A0) ,D0D2 A0-Al movem. D0D2 A0-Al- (A6) ; code test4 fill: joe demo4 test4 Alternatively, the first two lines of demo4 could have been written lea 6 (dicobj [edmund] AO (A0) D0-D2 /A0A2 As you can see from this example you can add a di .spl .acement to a dict di sp lacement incor rporated at compi ile time into the displ Lacement ass, instruct ion If you requi re P ...